<!DOCTYPE html>

<html>
    <head>
        <title>#{get 'title' /}</title>
        <meta charset="utf-8">
    </head>
    <body>
    
    	
<div id="page">
  <!--header-->
  <div id="header">
    <!-- logo-->
      <h1><a href="/">NhieuChuyen.Net</a></h1>
      <h2 style="margin-top: -10px;">Hãy Nói Theo Cách Của Bạn</h2>
    </div>
   		 #{if user}
   		 <div id="userLoggin">
                You're logged as ${user}, <a href="@{Application.logout()}">Logout</a>
                <div class="profile">
                	<ul>
	                	<li><a href="#">Profile</a></li>
	                	<li><a href="#">Mail</a></li>
	                	<li><a href="@{Follow.followContent()}">Manager FollowContent</a></li>
	                	<li><a href="@{Content.managerContent()}">Manager Content</a></li>
       				</ul>
                </div>
           </div>
    	#{/if}
    	 #{else}
    	<div id="user">
    		<a href="@{Application.login()}" class="big"><h2 style="margin-top: -25px;">Login with Gmail</h2></a>
        </div>
    	#{/else}
</body>
</html>
